Skip to content

bpo-40280: Add build target for Emscripten/node.js#30495

Closed
emmatyping wants to merge 11 commits intopython:mainfrom
emmatyping:nodejs
Closed

bpo-40280: Add build target for Emscripten/node.js#30495
emmatyping wants to merge 11 commits intopython:mainfrom
emmatyping:nodejs

Conversation

@emmatyping
Copy link
Member

@emmatyping emmatyping commented Jan 9, 2022

This adds a "python.js" target to the Makefile. We enable the raw
node.js filesystem mode as suggested by @thomasballinger as it will make running
the test suite under node easier, c.f.
emmatyping/python-wasm#36.

The wasm_asset.py script is updated to include the test module. Care is
taken to skip compiling the Python files that are examples of bad syntax
or encoding.

This also turns on memory growth as early into the test suite I was
running into OOMs.

cc @tiran

This requires my other PR to work of course #30494 (This is now merged)

https://bugs.python.org/issue40280

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants